< previous page page_692 next page >

Page 692
Step 5: Compress Your Files
You need to take all the files to be distributed and compress them into a smaller format so that theyre easier to distribute. Usually, youll use the P&D Wizard to accomplish this step. Some setup programs compress each file into an individually compressed file. The P&D Wizard creates one or more CAB files for you, depending on the media type youve chosen.
Step 6: Get It Out There!
Once youve created the media, youre now ready to get it into the hands of your users. You simply need to copy the files to floppy disks, place them on a shared network drive, burn them into a CD-ROM, or publish them to an Internet/intranet site. Once again, the P&D Wizard can help you with any of these tasks.
Visual Basic Runtime Files
Lets now look at the files that need to be distributed with your EXE file, besides any specific DLLs and/or OCXs that make up your applications. The Visual Basic programming language uses a lot of its own internal functions that reside in their own DLLs. The following is a list of each of the files you need to distribute along with your application. Dont worry about having to remember this list, because the P&D Wizard will automatically include these files in the cabinet files it builds:
Msvbvm60.dll (the main Visual Basic runtime DLL)
Stdole2.tlb
Oleaut32.dll
Olepro32.dll
Comcat.dll
Asyncfilt.dll
Ctl3d32.dll
Of course if you include additional controls that are not a part of the Visual Basic runtime, you will need to include those files as well. The P&D Wizard will automatically include those additional files for you.

 
< previous page page_692 next page >

If you like this book, buy it!